package models

import (
	"time"
)

type UserFile struct {
	CreateTime time.Time `xorm:"not null DATETIME"`
	DeleteTime time.Time `xorm:"DATETIME"`
	Extension  string    `xorm:"VARCHAR(255)"`
	FileId     string    `xorm:"VARCHAR(255)"`
	FileName   string    `xorm:"not null VARCHAR(255)"`
	Id         string    `xorm:"not null pk VARCHAR(32)"`
	IsDelete   int       `xorm:"not null INT"`
	IsDir      int       `xorm:"not null INT"`
	Pid        string    `xorm:"VARCHAR(32)"`
	UpdateTime time.Time `xorm:"not null DATETIME"`
	UserId     int64     `xorm:"not null BIGINT"`
}
